package com.uni.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRole implements Serializable {
    private Integer id;

    private Long userId;

    private Integer roleId;

    private static final long serialVersionUID = 1L;
    public UserRole(Long userId, Integer roleId){
        this.userId = userId;
        this.roleId = roleId;
    }
}